From: Johan Dahlin Date: Sun, 2 Nov 2008 03:00:45 +0000 (+0000) Subject: Draw a border around the panel. Move it to -1,-1 and make the width+2 so we only... X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~1013^2^2~11621 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=758e083cafc3e469bc88c74f2a38970a76d975d5;p=gnome-shell.git Draw a border around the panel. Move it to -1,-1 and make the width+2 so we only see the border at the bottom svn path=/trunk/; revision=19 --- diff --git a/js/ui/panel.js b/js/ui/panel.js index 22fcafa3b..f702a7c1d 100644 --- a/js/ui/panel.js +++ b/js/ui/panel.js @@ -26,8 +26,10 @@ Panel.prototype = { let background = new Clutter.Rectangle({ color: PANEL_BACKGROUND_COLOR, reactive: true, - width: global.screen_width, - height: PANEL_HEIGHT }); + width: global.screen_width+2, + height: PANEL_HEIGHT+1, + border_width: 1}); + background.set_position(-1, -1) this._group.add_actor(background); let message = new Clutter.Label({ font_name: "Sans Bold 16px",